//
//  GDTUnifiedNativeAdDataObject+CacheHeight.m
//  SEGPlatform
//
//  Created by 乔杨 on 2020/7/31.
//

#import "GDTUnifiedNativeAdDataObject+CacheHeight.h"

@implementation GDTUnifiedNativeAdDataObject (CacheHeight)

- (void)setTime:(NSString *)time {
    objc_setAssociatedObject(self, @selector(time), time, OBJC_ASSOCIATION_COPY_NONATOMIC);
}
- (NSString *)time {
    return objc_getAssociatedObject(self, _cmd);
}
- (void)setCacheHeight:(CGFloat)cacheHeight {
    objc_setAssociatedObject(self, @selector(cacheHeight), @(cacheHeight), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}
- (CGFloat)cacheHeight {
    return [objc_getAssociatedObject(self, _cmd) floatValue];
}

@end
